<?php

/**
 * Author: Artem Azarov <bel-azar@ya.ru>
 * Date: 2/25/12
 * Time: 12:20 AM
 */
class IndexController extends Controller
{
    /**
     * Index action is the default action in a controller.
     */
    public function actionIndex()
    {
        $article = Article::model()->LastArticle()->find();


        $this->render('index', array(
            'article' => $article
        ));
    }

    public function actionLol()
    {


    }
}
